package fit.conceptmap.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.SessionAttributes;

@Controller
@SessionAttributes({"username", "role" })
public class NavigationController {
	@RequestMapping(value = "/conceptmaps", method = RequestMethod.GET)
	public String goWelcomeDoGet(Model model, @ModelAttribute(value="username") String session) {
		System.out.println("1");
		return "conceptmaps";
		
	}
}
